<!-- 
* Copyright (C) 2008 Google Enterprise EMEA
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
-->

<%@page contentType="text/html; charset=windows-1252"
        import="oracle.portal.provider.v2.render.PortletRenderRequest"
        import="oracle.portal.provider.v2.http.HttpCommonConstants"
        import="gsaportlet.GSABean"
        import="java.util.*"
        import="oracle.portal.provider.v2.personalize.NameValuePersonalizationObject"
        import="oracle.portal.provider.v2.render.PortletRendererUtil"
%>

<%
  PortletRenderRequest pReq = (PortletRenderRequest)
  request.getAttribute(HttpCommonConstants.PORTLET_RENDER_REQUEST);
     NameValuePersonalizationObject data = (NameValuePersonalizationObject)
  PortletRendererUtil.getEditData(pReq);
  String gsa_url = data.getString("gsa_url");
  String title = data.getString("gsaportlet_title");
  String output = data.getString("output");
  String client = data.getString("client");
  String proxystylesheet = data.getString("proxystylesheet");
  String site = data.getString("site");
%>

<form action= "<%=gsa_url%>" method=get>
  <img src="/gsaportlet/images/Logo_25wht.gif" width="75" height="32"/>
  <input type="text" name="q"/>
  <input value="Google Search" type="SUBMIT"/>
  <input type="hidden" name="access" value="a"/> 
  <input type="hidden" name="output" value="<%=output%>" />
  <input type="hidden" name="client" value="<%=client%>" />
  <input type="hidden" name="proxystylesheet" value="<%=proxystylesheet%>" />
  <input type="hidden" name="site" value="<%=site%>" />
</form>



